package com.kgc.service.edu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SieMenu {
    @TableId(value = "id",type = IdType.AUTO)
    private String id;
    private String parent_id;
    private String name;
    private Integer type;
    private String perms;
    private String icon;
    private Integer ordernum;
    private Integer status;
    @TableField(exist = false)
    private List<SieMenu> children = new ArrayList<>();
}
